package com.dhcc.cdc.busi.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.dhcc.cdc.sys.entity.CdcDataEntity;
import com.dhcc.core.framework.base.entity.DataEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * 检查报告
 * 
 * @ClassName: CdcExaminationEntity
 * @Description: TODO
 * @author jumper
 * @date 2021-03-15 10:20:08
 */
@TableName("t_cdc_bs_examinate") 
public class CdcExaminateEntity extends DataEntity<CdcExaminateEntity> {
	private static final long serialVersionUID = 1L;
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	
	//就诊记录
	private Long episodeId;	
	//索引码
	private String xcode;	
	//检查号
	private String examNum;	
	//状态
	private Long busExamReportStatusId;

	//描述 将项目改成了描述
	private String description;
	//检查所见
	private String examDesc;	
	//诊断意见
	private String resultDesc;	
	//报告人
	private String repUserName;	
	//报告日期
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date repDate;	
	//登记人
	private String regUserName;	
	//登记日期
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date regDate;	
	//医嘱
	private Long bsOrdexecId;	
	//
	private Long dataId;	
	//
	private Integer isActive;
	//更新人
	private String updateBy;

	//检查 报告状态  by xzl
	@TableField(exist = false)
	private CdcDictionaryEntity busExamReportStatus;

	//业务数据类型 by xzl
	@TableField(exist = false)
	private CdcDataEntity data;

	/**
	 * 设置：就诊记录
	 */
	public void setEpisodeId(Long episodeId) {
		this.episodeId = episodeId;
	}
	/**
	 * 获取：就诊记录
	 */
	public Long getEpisodeId() {
		return episodeId;
	}
	/**
	 * 设置：索引码
	 */
	public void setXcode(String xcode) {
		this.xcode = xcode;
	}
	/**
	 * 获取：索引码
	 */
	public String getXcode() {
		return xcode;
	}
	/**
	 * 设置：检查号
	 */
	public void setExamNum(String examNum) {
		this.examNum = examNum;
	}
	/**
	 * 获取：检查号
	 */
	public String getExamNum() {
		return examNum;
	}
	/**
	 * 设置：状态
	 */
	public void setBusExamReportStatusId(Long busExamReportStatusId) {
		this.busExamReportStatusId = busExamReportStatusId;
	}
	/**
	 * 获取：状态
	 */
	public Long getBusExamReportStatusId() {
		return busExamReportStatusId;
	}
	/**
	 * 设置：描述
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * 获取：描述
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * 设置：检查所见
	 */
	public void setExamDesc(String examDesc) {
		this.examDesc = examDesc;
	}
	/**
	 * 获取：检查所见
	 */
	public String getExamDesc() {
		return examDesc;
	}
	/**
	 * 设置：诊断意见
	 */
	public void setResultDesc(String resultDesc) {
		this.resultDesc = resultDesc;
	}
	/**
	 * 获取：诊断意见
	 */
	public String getResultDesc() {
		return resultDesc;
	}
	/**
	 * 设置：报告人
	 */
	public void setRepUserName(String repUserName) {
		this.repUserName = repUserName;
	}
	/**
	 * 获取：报告人
	 */
	public String getRepUserName() {
		return repUserName;
	}
	/**
	 * 设置：报告日期
	 */
	public void setRepDate(Date repDate) {
		this.repDate = repDate;
	}
	/**
	 * 获取：报告日期
	 */
	public Date getRepDate() {
		return repDate;
	}
	/**
	 * 设置：登记人
	 */
	public void setRegUserName(String regUserName) {
		this.regUserName = regUserName;
	}
	/**
	 * 获取：登记人
	 */
	public String getRegUserName() {
		return regUserName;
	}
	/**
	 * 设置：登记日期
	 */
	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}
	/**
	 * 获取：登记日期
	 */
	public Date getRegDate() {
		return regDate;
	}
	/**
	 * 设置：医嘱
	 */
	public void setBsOrdexecId(Long bsOrdexecId) {
		this.bsOrdexecId = bsOrdexecId;
	}
	/**
	 * 获取：医嘱
	 */
	public Long getBsOrdexecId() {
		return bsOrdexecId;
	}
	/**
	 * 设置：
	 */
	public void setDataId(Long dataId) {
		this.dataId = dataId;
	}
	/**
	 * 获取：
	 */
	public Long getDataId() {
		return dataId;
	}
	/**
	 * 设置：
	 */
	public void setIsActive(Integer isActive) {
		this.isActive = isActive;
	}
	/**
	 * 获取：
	 */
	public Integer getIsActive() {
		return isActive;
	}


	/**
	*by xzl
	*/
	public CdcDictionaryEntity getBusExamReportStatus() {
		return busExamReportStatus;
	}

	public void setBusExamReportStatus(CdcDictionaryEntity busExamReportStatus) {
		this.busExamReportStatus = busExamReportStatus;
	}

	public CdcDataEntity getData() {
		return data;
	}

	public void setData(CdcDataEntity data) {
		this.data = data;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}
}
